package com.cms.service.Impl;

import com.cms.entity.auction;
import com.cms.mapper.auctionMapper;
import com.cms.service.auctionService;
import org.mybatis.spring.mapper.MapperFactoryBean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class auctionServiceImpl implements auctionService {
    @Autowired
    private auctionMapper auctionMapper;
    @Override
    public void addAuction(auction auction) {
        System.out.println(auction);
    }

    @Override
    public void deleteAuction(int id) {

    }

    @Override
    public void updateAuction(auction auction) {

    }

    @Override
    public List<auction> queryAuction() {
        return null;
    }

    public void setAuctionMapper(auctionMapper auctionMapper) {
        this.auctionMapper = auctionMapper;
    }

    public boolean selectAuction(int i) {
        return false;
    }
}
